projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56dfbd9
)
Always return FALSE from idle callback to avoid loop
author
Alexander Larsson
<alexl@redhat.com>
Fri, 12 Jun 2009 10:45:31 +0000
(12:45 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 12 Jun 2009 10:45:31 +0000
(12:45 +0200)
In the destroyed window case in do_synthesize_crossing_event we didn't
return a value which can cause infinite "loops". Always return FALSE
to make sure the idle doesn't run again.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index 2b6adc7757e779731d19f80cafdc6662f8ae1839..572e6059820b463ab4e8f3275c452261b07bd4ba 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-8736,7
+8736,7
@@
do_synthesize_crossing_event (gpointer data)
changed_toplevel_priv->synthesize_crossing_event_queued = FALSE;
if (GDK_WINDOW_DESTROYED (changed_toplevel))
- return;
+ return
FALSE
;
display = gdk_drawable_get_display (changed_toplevel);
serial = _gdk_windowing_window_get_next_serial (display);